import Layout from '@/pages/index';

export default [
	{
		path: '/optimize',
		name: '项目优化',
		component: Layout,
		redirect: '/optimize/img',
		meta: {
			isSidebar: true
		},
		children: [
			{
				path: '/optimize/list',
				component: () => import(/* webpackChunkName: "module" */ '@/views/optimize/list'),
				name: '一次性渲染多条数据',
				meta: {
					isSidebar: true
				}
			},
			{
				path: '/optimize/img',
				component: () => import(/* webpackChunkName: "module" */ '@/views/optimize/image'),
				name: '上传图片压缩',
				meta: {
					isSidebar: true
				}
			}
		]
	}
];
